<h1><%= t(:reports) %>: <%= t(:holidays_by_branch_office_this_year) %> - <%= BranchOffice.default.name %></h1>

<table>
  <tr>
    <th><%= t(:month) %></th>
    <th><%= t(:number_of_holidays) %></th>
  </tr>
<% while row = @result.fetch_hash do %>

  <tr>
    <td><%= t(("month_" + Date::MONTHNAMES[row["month"].to_i].downcase).to_sym) %></td>
    <td><%= row["days"] %></td>
  </tr>

<% end %>
</table>

<p class="back"><%= link_to t(:back), admin_reports_path %></p>
